<template>
  <div>
    <a-spin :spinning="loading" style="height: 100%">
      <router-view></router-view>
    </a-spin>
  </div>
</template>

<script>
import { Spin } from "ant-design-vue";
export default {
  name: "mobile",
  components: {
    ASpin: Spin
  },
  computed: {
    loading() {
      return this.$store.state.loading;
    }
  }
};
</script>

<style scoped lang="less"></style>
